//
//  NSString+WPSizeOfString.h
//  wobingwoyi
//
//  Created by WGP on 16/8/1.
//  Copyright © 2016年 WGP. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface NSString (WPSizeOfString)

-(CGSize)sizeWithMaxSize:(CGSize)maxSize font:(CGFloat)font;
-(CGSize)sizeWithMaxSize:(CGSize)maxSize systemFont:(UIFont *)font;
+(BOOL) isMobile:(NSString *)mobileNumbel;
+(BOOL) checkCardNo:(NSString*) cardNo;

+(NSString *)timeStrWithDurations:(float)length;
+(NSString *)timeHourStrWithDurations:(float)length;

//截取字符创的方法
-(NSString *)subStringFrom:(NSString *)startString to:(NSString *)endString;

@end
